package com.bus.mapper;

import java.util.List;

import com.bus.entity.Categorys;
import com.bus.entity.QueryVo;
import com.bus.util.Page;

public interface CategoryMapper {
	public Categorys selectCateById(Integer id);

	public List<Categorys> selectCateByIds(QueryVo v);

	public List<Categorys> selectAllCate();

	public List<Categorys> selectCateByCondition(Categorys c);

	public List<Categorys> selectCateByArray(int[] ids);

	public List<Categorys> selectCateByList(List<Integer> ids);

	public List<Categorys> selectCateByPage(Page p);

	public List<Categorys> selectCategoryByName(String name);

	public Integer selectCountCate();

}
